package org.zh.svs.pro;


import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.context.annotation.ComponentScan;
import org.zh.client.config.ZHOpenInit;

import java.io.IOException;
import java.util.concurrent.ExecutionException;


@SpringBootApplication
@ComponentScan(value = {"org.zh"})
public class ProApp {
    /**
     * zhOpen.clientTask.delay=
     * zhOpen.clientTask.period=
     * zhOpen.transactionTask.keepTime=
     * zhOpen.transactionTask.delay=
     * zhOpen.transactionTask.period=
     * zhOpen.logEnv=
     * zhOpen.logName=
     */
    public static void main(String[] args) throws IOException, ExecutionException, InterruptedException {

        ZHOpenInit.before();
        SpringApplication.run(ProApp.class, args);
        ZHOpenInit.after(ProApp.class);
    }


}
